﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// 位置
    /// </summary>
    /// <remarks>
    /// struct _scp_location_t
    /// {
    /// 	u_int16_t		row;
    /// 	u_int16_t		col;
    /// }PACKED;
    /// typedef struct _scp_location_t
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_LOCATION_T
    {
        /// <summary>
        /// 行
        /// </summary>
        public UInt16 row;

        /// <summary>
        /// 列
        /// </summary>
        public UInt16 col;
    }
}
